import {Routes, RouterModule} from '@angular/router';
import {ModuleWithProviders} from '@angular/core';
import {SpreadComponent} from "./spread.component";

export const routes: Routes = [
  {
    path:'list',
    component: SpreadComponent,
    children: []
  },
  // {
  //   path:'detail/:id',
  //   component: DetailComponent,
  //   children: []
  // }
];

export const routing: ModuleWithProviders = RouterModule.forChild(routes);
